import Vue from 'vue'
import App from './App.vue'


// 富文本的引入
import VueQuillEditor from 'vue-quill-editor'
import * as Quill from 'quill' // 引入编辑器
import resizeImage from 'quill-image-resize-module' // 图片缩放组件。
import {ImageDrop} from 'quill-image-drop-module'
import 'quill/dist/quill.core.css'
import 'quill/dist/quill.snow.css'
import 'quill/dist/quill.bubble.css' // 图片拖动组件。
import MavonEditor from 'mavon-editor'
import 'mavon-editor/dist/css/index.css'

Quill.register('modules/imageDrop', ImageDrop)
Quill.register('modules/resizeImage ', resizeImage)

Vue.use(MavonEditor)
Vue.config.productionTip = false
Vue.use(VueQuillEditor)

new Vue({
    render: h => h(App),
})
    .$mount('#app')
